package com.zijie.rbac.model;

import com.baomidou.mybatisplus.annotation.*;
import com.zijie.core.util.AuditEntity;
import lombok.Getter;
import lombok.Setter;

@TableName("t_rbac_role")
@Getter
@Setter
public class Role extends AuditEntity {
    @TableId(type = IdType.AUTO)
    private Integer id;//主键
    @TableField(condition = SqlCondition.LIKE, whereStrategy = FieldStrategy.NOT_EMPTY)
    private String name;//角色名称
    private String description;//角色备注
    private Boolean enabled;//是否启用
}
